home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / lib / python2.4 / traceback.pyc < prev    next >
Unknown  |  2007-04-29  |  10.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Python Compiled Bytecode (document/pythonCompiled) magic Supported
100% file python 2.4 byte-compiled default
99% file data default
100% TrID CPython 2.4 bytecode default
100% siegfried fmt/1110 Python Compiled File (2.4) default
100% detectItEasy Format: Python Compiled Module(2.4b1) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 6d f2 0d 0a 90 9e 1e 46 | 63 00 00 00 00 00 00 00 |m......F|c.......|
|00000010| 00 0e 00 00 00 40 00 00 | 00 73 30 01 00 00 64 00 |.....@..|.s0...d.|
|00000020| 00 5a 00 00 64 01 00 6b | 01 00 5a 01 00 64 01 00 |.Z..d..k|..Z..d..|
|00000030| 6b 02 00 5a 02 00 64 01 | 00 6b 03 00 5a 03 00 64 |k..Z..d.|.k..Z..d|
|00000040| 02 00 64 03 00 64 04 00 | 64 05 00 64 06 00 64 07 |..d..d..|d..d..d.|
|00000050| 00 64 08 00 64 09 00 64 | 0a 00 64 0b 00 64 0c 00 |.d..d..d|..d..d..|
|00000060| 64 0d 00 64 0e 00 64 0f | 00 67 0e 00 5a 04 00 64 |d..d..d.|.g..Z..d|
|00000070| 10 00 64 11 00 64 12 00 | 84 02 00 5a 05 00 64 01 |..d..d..|...Z..d.|
|00000080| 00 64 13 00 84 01 00 5a | 07 00 64 14 00 84 00 00 |.d.....Z|..d.....|
|00000090| 5a 08 00 64 01 00 64 01 | 00 64 15 00 84 02 00 5a |Z..d..d.|.d.....Z|
|000000a0| 09 00 64 01 00 64 16 00 | 84 01 00 5a 0a 00 64 01 |..d..d..|...Z..d.|
|000000b0| 00 64 17 00 84 01 00 5a | 0b 00 64 01 00 64 01 00 |.d.....Z|..d..d..|
|000000c0| 64 18 00 84 02 00 5a 0c | 00 64 01 00 64 19 00 84 |d.....Z.|.d..d...|
|000000d0| 01 00 5a 0d 00 64 1a 00 | 84 00 00 5a 0e 00 64 1b |..Z..d..|...Z..d.|
|000000e0| 00 84 00 00 5a 0f 00 64 | 01 00 64 01 00 64 1c 00 |....Z..d|..d..d..|
|000000f0| 84 02 00 5a 10 00 64 01 | 00 64 1d 00 84 01 00 5a |...Z..d.|.d.....Z|
|00000100| 11 00 64 01 00 64 01 00 | 64 1e 00 84 02 00 5a 12 |..d..d..|d.....Z.|
|00000110| 00 64 01 00 64 01 00 64 | 01 00 64 1f 00 84 03 00 |.d..d..d|..d.....|
|00000120| 5a 13 00 64 01 00 64 01 | 00 64 20 00 84 02 00 5a |Z..d..d.|.d ....Z|
|00000130| 14 00 64 01 00 64 01 00 | 64 21 00 84 02 00 5a 15 |..d..d..|d!....Z.|
|00000140| 00 64 22 00 84 00 00 5a | 16 00 64 01 00 53 28 23 |.d"....Z|..d..S(#|
|00000150| 00 00 00 73 40 00 00 00 | 45 78 74 72 61 63 74 2c |...s@...|Extract,|
|00000160| 20 66 6f 72 6d 61 74 20 | 61 6e 64 20 70 72 69 6e | format |and prin|
|00000170| 74 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 62 |t inform|ation ab|
|00000180| 6f 75 74 20 50 79 74 68 | 6f 6e 20 73 74 61 63 6b |out Pyth|on stack|
|00000190| 20 74 72 61 63 65 73 2e | 4e 74 0d 00 00 00 65 78 | traces.|Nt....ex|
|000001a0| 74 72 61 63 74 5f 73 74 | 61 63 6b 74 0a 00 00 00 |tract_st|ackt....|
|000001b0| 65 78 74 72 61 63 74 5f | 74 62 74 10 00 00 00 66 |extract_|tbt....f|
|000001c0| 6f 72 6d 61 74 5f 65 78 | 63 65 70 74 69 6f 6e 74 |ormat_ex|ceptiont|
|000001d0| 15 00 00 00 66 6f 72 6d | 61 74 5f 65 78 63 65 70 |....form|at_excep|
|000001e0| 74 69 6f 6e 5f 6f 6e 6c | 79 74 0b 00 00 00 66 6f |tion_onl|yt....fo|
|000001f0| 72 6d 61 74 5f 6c 69 73 | 74 74 0c 00 00 00 66 6f |rmat_lis|tt....fo|
|00000200| 72 6d 61 74 5f 73 74 61 | 63 6b 74 09 00 00 00 66 |rmat_sta|ckt....f|
|00000210| 6f 72 6d 61 74 5f 74 62 | 74 09 00 00 00 70 72 69 |ormat_tb|t....pri|
|00000220| 6e 74 5f 65 78 63 74 0a | 00 00 00 66 6f 72 6d 61 |nt_exct.|...forma|
|00000230| 74 5f 65 78 63 74 0f 00 | 00 00 70 72 69 6e 74 5f |t_exct..|..print_|
|00000240| 65 78 63 65 70 74 69 6f | 6e 74 0a 00 00 00 70 72 |exceptio|nt....pr|
|00000250| 69 6e 74 5f 6c 61 73 74 | 74 0b 00 00 00 70 72 69 |int_last|t....pri|
|00000260| 6e 74 5f 73 74 61 63 6b | 74 08 00 00 00 70 72 69 |nt_stack|t....pri|
|00000270| 6e 74 5f 74 62 74 09 00 | 00 00 74 62 5f 6c 69 6e |nt_tbt..|..tb_lin|
|00000280| 65 6e 6f 74 00 00 00 00 | 73 01 00 00 00 0a 63 03 |enot....|s.....c.|
|00000290| 00 00 00 03 00 00 00 03 | 00 00 00 43 00 00 00 73 |........|...C...s|
|000002a0| 15 00 00 00 7c 00 00 69 | 01 00 7c 01 00 7c 02 00 |....|..i|..|..|..|
|000002b0| 17 83 01 00 01 64 00 00 | 53 28 01 00 00 00 4e 28 |.....d..|S(....N(|
|000002c0| 04 00 00 00 74 04 00 00 | 00 66 69 6c 65 74 05 00 |....t...|.filet..|
|000002d0| 00 00 77 72 69 74 65 74 | 03 00 00 00 73 74 72 74 |..writet|....strt|
|000002e0| 0a 00 00 00 74 65 72 6d | 69 6e 61 74 6f 72 28 03 |....term|inator(.|
|000002f0| 00 00 00 52 0f 00 00 00 | 52 11 00 00 00 52 12 00 |...R....|R....R..|
|00000300| 00 00 28 00 00 00 00 28 | 00 00 00 00 74 0c 00 00 |..(....(|....t...|
|00000310| 00 74 72 61 63 65 62 61 | 63 6b 2e 70 79 74 06 00 |.traceba|ck.pyt..|
|00000320| 00 00 5f 70 72 69 6e 74 | 0c 00 00 00 73 02 00 00 |.._print|....s...|
|00000330| 00 00 01 63 02 00 00 00 | 06 00 00 00 07 00 00 00 |...c....|........|
|00000340| 43 00 00 00 73 77 00 00 | 00 7c 01 00 64 03 00 6a |C...sw..|.|..d..j|
|00000350| 08 00 6f 0d 00 01 74 02 | 00 69 03 00 7d 01 00 6e |..o...t.|.i..}..n|
|00000360| 01 00 01 78 56 00 7c 00 | 00 44 5d 4e 00 5c 04 00 |...xV.|.|.D]N.\..|
|00000370| 7d 03 00 7d 04 00 7d 02 | 00 7d 05 00 74 09 00 7c |}..}..}.|.}..t..||
|00000380| 01 00 64 01 00 7c 03 00 | 7c 04 00 7c 02 00 66 03 |..d..|..||..|..f.|
|00000390| 00 16 83 02 00 01 7c 05 | 00 6f 1b 00 01 74 09 00 |......|.|.o...t..|
|000003a0| 7c 01 00 64 02 00 7c 05 | 00 69 0a 00 83 00 00 16 ||..d..|.|.i......|
|000003b0| 83 02 00 01 71 21 00 01 | 71 21 00 57 64 03 00 53 |....q!..|q!.Wd..S|
|000003c0| 28 04 00 00 00 73 79 00 | 00 00 50 72 69 6e 74 20 |(....sy.|..Print |
|000003d0| 74 68 65 20 6c 69 73 74 | 20 6f 66 20 74 75 70 6c |the list| of tupl|
|000003e0| 65 73 20 61 73 20 72 65 | 74 75 72 6e 65 64 20 62 |es as re|turned b|
|000003f0| 79 20 65 78 74 72 61 63 | 74 5f 74 62 28 29 20 6f |y extrac|t_tb() o|
|00000400| 72 0a 20 20 20 20 65 78 | 74 72 61 63 74 5f 73 74 |r. ex|tract_st|
|00000410| 61 63 6b 28 29 20 61 73 | 20 61 20 66 6f 72 6d 61 |ack() as| a forma|
|00000420| 74 74 65 64 20 73 74 61 | 63 6b 20 74 72 61 63 65 |tted sta|ck trace|
|00000430| 20 74 6f 20 74 68 65 20 | 67 69 76 65 6e 20 66 69 | to the |given fi|
|00000440| 6c 65 2e 73 1b 00 00 00 | 20 20 46 69 6c 65 20 22 |le.s....| File "|
|00000450| 25 73 22 2c 20 6c 69 6e | 65 20 25 64 2c 20 69 6e |%s", lin|e %d, in|
|00000460| 20 25 73 73 06 00 00 00 | 20 20 20 20 25 73 4e 28 | %ss....| %sN(|
|00000470| 0b 00 00 00 52 0f 00 00 | 00 74 04 00 00 00 4e 6f |....R...|.t....No|
|00000480| 6e 65 74 03 00 00 00 73 | 79 73 74 06 00 00 00 73 |net....s|yst....s|
|00000490| 74 64 65 72 72 74 0e 00 | 00 00 65 78 74 72 61 63 |tderrt..|..extrac|
|000004a0| 74 65 64 5f 6c 69 73 74 | 74 08 00 00 00 66 69 6c |ted_list|t....fil|
|000004b0| 65 6e 61 6d 65 74 06 00 | 00 00 6c 69 6e 65 6e 6f |enamet..|..lineno|
|000004c0| 74 04 00 00 00 6e 61 6d | 65 74 04 00 00 00 6c 69 |t....nam|et....li|
|000004d0| 6e 65 52 14 00 00 00 74 | 05 00 00 00 73 74 72 69 |neR....t|....stri|
|000004e0| 70 28 06 00 00 00 52 18 | 00 00 00 52 0f 00 00 00 |p(....R.|...R....|
|000004f0| 52 1b 00 00 00 52 19 00 | 00 00 52 1a 00 00 00 52 |R....R..|..R....R|
|00000500| 1c 00 00 00 28 00 00 00 | 00 28 00 00 00 00 52 13 |....(...|.(....R.|
|00000510| 00 00 00 74 0a 00 00 00 | 70 72 69 6e 74 5f 6c 69 |...t....|print_li|
|00000520| 73 74 10 00 00 00 73 12 | 00 00 00 00 02 00 01 0d |st....s.|........|
|00000530| 01 0d 01 07 00 12 01 06 | 01 14 01 07 01 63 01 00 |........|.....c..|
|00000540| 00 00 07 00 00 00 05 00 | 00 00 43 00 00 00 73 66 |........|..C...sf|
|00000550| 00 00 00 67 00 00 7d 02 | 00 78 59 00 7c 00 00 44 |...g..}.|.xY.|..D|
|00000560| 5d 51 00 5c 04 00 7d 03 | 00 7d 05 00 7d 01 00 7d |]Q.\..}.|.}..}..}|
|00000570| 06 00 64 01 00 7c 03 00 | 7c 05 00 7c 01 00 66 03 |..d..|..||..|..f.|
|00000580| 00 16 7d 04 00 7c 06 00 | 6f 18 00 01 7c 04 00 64 |..}..|..|o...|..d|
|00000590| 02 00 7c 06 00 69 07 00 | 83 00 00 16 17 7d 04 00 |..|..i..|.....}..|
|000005a0| 6e 01 00 01 7c 02 00 69 | 08 00 7c 04 00 83 01 00 |n...|..i|..|.....|
|000005b0| 01 71 0d 00 57 7c 02 00 | 53 28 04 00 00 00 73 b2 |.q..W|..|S(....s.|
|000005c0| 01 00 00 46 6f 72 6d 61 | 74 20 61 20 6c 69 73 74 |...Forma|t a list|
|000005d0| 20 6f 66 20 74 72 61 63 | 65 62 61 63 6b 20 65 6e | of trac|eback en|
|000005e0| 74 72 79 20 74 75 70 6c | 65 73 20 66 6f 72 20 70 |try tupl|es for p|
|000005f0| 72 69 6e 74 69 6e 67 2e | 0a 0a 20 20 20 20 47 69 |rinting.|.. Gi|
|00000600| 76 65 6e 20 61 20 6c 69 | 73 74 20 6f 66 20 74 75 |ven a li|st of tu|
|00000610| 70 6c 65 73 20 61 73 20 | 72 65 74 75 72 6e 65 64 |ples as |returned|
|00000620| 20 62 79 20 65 78 74 72 | 61 63 74 5f 74 62 28 29 | by extr|act_tb()|
|00000630| 20 6f 72 0a 20 20 20 20 | 65 78 74 72 61 63 74 5f | or. |extract_|
|00000640| 73 74 61 63 6b 28 29 2c | 20 72 65 74 75 72 6e 20 |stack(),| return |
|00000650| 61 20 6c 69 73 74 20 6f | 66 20 73 74 72 69 6e 67 |a list o|f string|
|00000660| 73 20 72 65 61 64 79 20 | 66 6f 72 20 70 72 69 6e |s ready |for prin|
|00000670| 74 69 6e 67 2e 0a 20 20 | 20 20 45 61 63 68 20 73 |ting.. | Each s|
|00000680| 74 72 69 6e 67 20 69 6e | 20 74 68 65 20 72 65 73 |tring in| the res|
|00000690| 75 6c 74 69 6e 67 20 6c | 69 73 74 20 63 6f 72 72 |ulting l|ist corr|
|000006a0| 65 73 70 6f 6e 64 73 20 | 74 6f 20 74 68 65 20 69 |esponds |to the i|
|000006b0| 74 65 6d 20 77 69 74 68 | 20 74 68 65 0a 20 20 20 |tem with| the. |
|000006c0| 20 73 61 6d 65 20 69 6e | 64 65 78 20 69 6e 20 74 | same in|dex in t|
|000006d0| 68 65 20 61 72 67 75 6d | 65 6e 74 20 6c 69 73 74 |he argum|ent list|
|000006e0| 2e 20 20 45 61 63 68 20 | 73 74 72 69 6e 67 20 65 |. Each |string e|
|000006f0| 6e 64 73 20 69 6e 20 61 | 20 6e 65 77 6c 69 6e 65 |nds in a| newline|
|00000700| 3b 0a 20 20 20 20 74 68 | 65 20 73 74 72 69 6e 67 |;. th|e string|
|00000710| 73 20 6d 61 79 20 63 6f | 6e 74 61 69 6e 20 69 6e |s may co|ntain in|
|00000720| 74 65 72 6e 61 6c 20 6e | 65 77 6c 69 6e 65 73 20 |ternal n|ewlines |
|00000730| 61 73 20 77 65 6c 6c 2c | 20 66 6f 72 20 74 68 6f |as well,| for tho|
|00000740| 73 65 20 69 74 65 6d 73 | 0a 20 20 20 20 77 68 6f |se items|. who|
|00000750| 73 65 20 73 6f 75 72 63 | 65 20 74 65 78 74 20 6c |se sourc|e text l|
|00000760| 69 6e 65 20 69 73 20 6e | 6f 74 20 4e 6f 6e 65 2e |ine is n|ot None.|
|00000770| 0a 20 20 20 20 73 1c 00 | 00 00 20 20 46 69 6c 65 |. s..|.. File|
|00000780| 20 22 25 73 22 2c 20 6c | 69 6e 65 20 25 64 2c 20 | "%s", l|ine %d, |
|00000790| 69 6e 20 25 73 0a 73 07 | 00 00 00 20 20 20 20 25 |in %s.s.|... %|
|000007a0| 73 0a 4e 28 09 00 00 00 | 74 04 00 00 00 6c 69 73 |s.N(....|t....lis|
|000007b0| 74 52 18 00 00 00 52 19 | 00 00 00 52 1a 00 00 00 |tR....R.|...R....|
|000007c0| 52 1b 00 00 00 52 1c 00 | 00 00 74 04 00 00 00 69 |R....R..|..t....i|
|000007d0| 74 65 6d 52 1d 00 00 00 | 74 06 00 00 00 61 70 70 |temR....|t....app|
|000007e0| 65 6e 64 28 07 00 00 00 | 52 18 00 00 00 52 1b 00 |end(....|R....R..|
|000007f0| 00 00 52 1f 00 00 00 52 | 19 00 00 00 52 20 00 00 |..R....R|....R ..|
|00000800| 00 52 1a 00 00 00 52 1c | 00 00 00 28 00 00 00 00 |.R....R.|...(....|
|00000810| 28 00 00 00 00 52 13 00 | 00 00 52 04 00 00 00 1b |(....R..|..R.....|
|00000820| 00 00 00 73 12 00 00 00 | 00 09 00 01 06 01 07 00 |...s....|........|
|00000830| 12 01 13 01 07 01 18 01 | 11 01 63 03 00 00 00 0a |........|..c.....|
|00000840| 00 00 00 06 00 00 00 43 | 00 00 00 73 1c 01 00 00 |.......C|...s....|
|00000850| 7c 02 00 64 06 00 6a 08 | 00 6f 0d 00 01 74 02 00 ||..d..j.|.o...t..|
|00000860| 69 03 00 7d 02 00 6e 01 | 00 01 7c 01 00 64 06 00 |i..}..n.|..|..d..|
|00000870| 6a 08 00 6f 21 00 01 74 | 05 00 74 02 00 64 01 00 |j..o!..t|..t..d..|
|00000880| 83 02 00 6f 0d 00 01 74 | 02 00 69 06 00 7d 01 00 |...o...t|..i..}..|
|00000890| 71 48 00 01 6e 01 00 01 | 64 02 00 7d 06 00 78 c7 |qH..n...|d..}..x.|
|000008a0| 00 7c 00 00 64 06 00 6a | 09 00 6f b9 00 01 7c 01 |.|..d..j|..o...|.|
|000008b0| 00 64 06 00 6a 08 00 70 | 0d 00 01 7c 06 00 7c 01 |.d..j..p|...|..|.|
|000008c0| 00 6a 00 00 6f 9f 00 01 | 7c 00 00 69 09 00 7d 05 |.j..o...||..i..}.|
|000008d0| 00 7c 00 00 69 0b 00 7d | 07 00 7c 05 00 69 0d 00 |.|..i..}|..|..i..|
|000008e0| 7d 03 00 7c 03 00 69 0f | 00 7d 09 00 7c 03 00 69 |}..|..i.|.}..|..i|
|000008f0| 11 00 7d 04 00 74 13 00 | 7c 02 00 64 03 00 7c 09 |..}..t..||..d..|.|
|00000900| 00 7c 07 00 7c 04 00 66 | 03 00 16 83 02 00 01 74 |.|..|..f|.......t|
|00000910| 14 00 69 15 00 7c 09 00 | 83 01 00 01 74 14 00 69 |..i..|..|....t..i|
|00000920| 16 00 7c 09 00 7c 07 00 | 83 02 00 7d 08 00 7c 08 |..|..|..|...}..|.|
|00000930| 00 6f 1b 00 01 74 13 00 | 7c 02 00 64 04 00 7c 08 |.o...t..||..d..|.|
|00000940| 00 69 18 00 83 00 00 17 | 83 02 00 01 6e 01 00 01 |.i......|....n...|
|00000950| 7c 00 00 69 19 00 7d 00 | 00 7c 06 00 64 05 00 17 ||..i..}.|.|..d...|
|00000960| 7d 06 00 71 51 00 01 57 | 64 06 00 53 28 07 00 00 |}..qQ..W|d..S(...|
|00000970| 00 73 1f 01 00 00 50 72 | 69 6e 74 20 75 70 20 74 |.s....Pr|int up t|
|00000980| 6f 20 27 6c 69 6d 69 74 | 27 20 73 74 61 63 6b 20 |o 'limit|' stack |
|00000990| 74 72 61 63 65 20 65 6e | 74 72 69 65 73 20 66 72 |trace en|tries fr|
|000009a0| 6f 6d 20 74 68 65 20 74 | 72 61 63 65 62 61 63 6b |om the t|raceback|
|000009b0| 20 27 74 62 27 2e 0a 0a | 20 20 20 20 49 66 20 27 | 'tb'...| If '|
|000009c0| 6c 69 6d 69 74 27 20 69 | 73 20 6f 6d 69 74 74 65 |limit' i|s omitte|
|000009d0| 64 20 6f 72 20 4e 6f 6e | 65 2c 20 61 6c 6c 20 65 |d or Non|e, all e|
|000009e0| 6e 74 72 69 65 73 20 61 | 72 65 20 70 72 69 6e 74 |ntries a|re print|
|000009f0| 65 64 2e 20 20 49 66 20 | 27 66 69 6c 65 27 0a 20 |ed. If |'file'. |
|00000a00| 20 20 20 69 73 20 6f 6d | 69 74 74 65 64 20 6f 72 | is om|itted or|
|00000a10| 20 4e 6f 6e 65 2c 20 74 | 68 65 20 6f 75 74 70 75 | None, t|he outpu|
|00000a20| 74 20 67 6f 65 73 20 74 | 6f 20 73 79 73 2e 73 74 |t goes t|o sys.st|
|00000a30| 64 65 72 72 3b 20 6f 74 | 68 65 72 77 69 73 65 0a |derr; ot|herwise.|
|00000a40| 20 20 20 20 27 66 69 6c | 65 27 20 73 68 6f 75 6c | 'fil|e' shoul|
|00000a50| 64 20 62 65 20 61 6e 20 | 6f 70 65 6e 20 66 69 6c |d be an |open fil|
|00000a60| 65 20 6f 72 20 66 69 6c | 65 2d 6c 69 6b 65 20 6f |e or fil|e-like o|
|00000a70| 62 6a 65 63 74 20 77 69 | 74 68 20 61 20 77 72 69 |bject wi|th a wri|
|00000a80| 74 65 28 29 0a 20 20 20 | 20 6d 65 74 68 6f 64 2e |te(). | method.|
|00000a90| 0a 20 20 20 20 74 0e 00 | 00 00 74 72 61 63 65 62 |. t..|..traceb|
|00000aa0| 61 63 6b 6c 69 6d 69 74 | 69 00 00 00 00 73 1b 00 |acklimit|i....s..|
|00000ab0| 00 00 20 20 46 69 6c 65 | 20 22 25 73 22 2c 20 6c |.. File| "%s", l|
|00000ac0| 69 6e 65 20 25 64 2c 20 | 69 6e 20 25 73 73 04 00 |ine %d, |in %ss..|
|00000ad0| 00 00 20 20 20 20 69 01 | 00 00 00 4e 28 1a 00 00 |.. i.|...N(...|
|00000ae0| 00 52 0f 00 00 00 52 15 | 00 00 00 52 16 00 00 00 |.R....R.|...R....|
|00000af0| 52 17 00 00 00 74 05 00 | 00 00 6c 69 6d 69 74 74 |R....t..|..limitt|
|00000b00| 07 00 00 00 68 61 73 61 | 74 74 72 52 22 00 00 00 |....hasa|ttrR"...|
|00000b10| 74 01 00 00 00 6e 74 02 | 00 00 00 74 62 74 08 00 |t....nt.|...tbt..|
|00000b20| 00 00 74 62 5f 66 72 61 | 6d 65 74 01 00 00 00 66 |..tb_fra|met....f|
|00000b30| 52 0d 00 00 00 52 1a 00 | 00 00 74 06 00 00 00 66 |R....R..|..t....f|
|00000b40| 5f 63 6f 64 65 74 02 00 | 00 00 63 6f 74 0b 00 00 |_codet..|..cot...|
|00000b50| 00 63 6f 5f 66 69 6c 65 | 6e 61 6d 65 52 19 00 00 |.co_file|nameR...|
|00000b60| 00 74 07 00 00 00 63 6f | 5f 6e 61 6d 65 52 1b 00 |.t....co|_nameR..|
|00000b70| 00 00 52 14 00 00 00 74 | 09 00 00 00 6c 69 6e 65 |..R....t|....line|
|00000b80| 63 61 63 68 65 74 0a 00 | 00 00 63 68 65 63 6b 63 |cachet..|..checkc|
|00000b90| 61 63 68 65 74 07 00 00 | 00 67 65 74 6c 69 6e 65 |achet...|.getline|
|00000ba0| 52 1c 00 00 00 52 1d 00 | 00 00 74 07 00 00 00 74 |R....R..|..t....t|
|00000bb0| 62 5f 6e 65 78 74 28 0a | 00 00 00 52 26 00 00 00 |b_next(.|...R&...|
|00000bc0| 52 23 00 00 00 52 0f 00 | 00 00 52 2a 00 00 00 52 |R#...R..|..R*...R|
|00000bd0| 1b 00 00 00 52 28 00 00 | 00 52 25 00 00 00 52 1a |....R(..|.R%...R.|
|00000be0| 00 00 00 52 1c 00 00 00 | 52 19 00 00 00 28 00 00 |...R....|R....(..|
|00000bf0| 00 00 28 00 00 00 00 52 | 13 00 00 00 52 0c 00 00 |..(....R|....R...|
|00000c00| 00 2e 00 00 00 73 2c 00 | 00 00 00 07 00 01 0d 01 |.....s,.|........|
|00000c10| 0d 01 0d 01 10 01 11 01 | 06 01 03 00 27 01 09 01 |........|....'...|
|00000c20| 09 01 09 01 09 01 09 01 | 06 01 14 01 0d 01 12 01 |........|........|
|00000c30| 07 00 1b 01 09 01 63 02 | 00 00 00 02 00 00 00 04 |......c.|........|
|00000c40| 00 00 00 43 00 00 00 73 | 13 00 00 00 74 00 00 74 |...C...s|....t..t|
|00000c50| 01 00 7c 00 00 7c 01 00 | 83 02 00 83 01 00 53 28 |..|..|..|......S(|
|00000c60| 02 00 00 00 73 36 00 00 | 00 41 20 73 68 6f 72 74 |....s6..|.A short|
|00000c70| 68 61 6e 64 20 66 6f 72 | 20 27 66 6f 72 6d 61 74 |hand for| 'format|
|00000c80| 5f 6c 69 73 74 28 65 78 | 74 72 61 63 74 5f 73 74 |_list(ex|tract_st|
|00000c90| 61 63 6b 28 66 2c 20 6c | 69 6d 69 74 29 29 2e 4e |ack(f, l|imit)).N|
|00000ca0| 28 04 00 00 00 52 04 00 | 00 00 52 01 00 00 00 52 |(....R..|..R....R|
|00000cb0| 26 00 00 00 52 23 00 00 | 00 28 02 00 00 00 52 26 |&...R#..|.(....R&|
|00000cc0| 00 00 00 52 23 00 00 00 | 28 00 00 00 00 28 00 00 |...R#...|(....(..|
|00000cd0| 00 00 52 13 00 00 00 52 | 06 00 00 00 4a 00 00 00 |..R....R|....J...|
|00000ce0| 73 04 00 00 00 00 01 00 | 01 63 02 00 00 00 0a 00 |s.......|.c......|
|00000cf0| 00 00 05 00 00 00 43 00 | 00 00 73 02 01 00 00 7c |......C.|..s....||
|00000d00| 01 00 64 04 00 6a 08 00 | 6f 21 00 01 74 02 00 74 |..d..j..|o!..t..t|
|00000d10| 03 00 64 01 00 83 02 00 | 6f 0d 00 01 74 03 00 69 |..d.....|o...t..i|
|00000d20| 04 00 7d 01 00 71 2e 00 | 01 6e 01 00 01 67 00 00 |..}..q..|.n...g..|
|00000d30| 7d 05 00 64 02 00 7d 06 | 00 78 c1 00 7c 00 00 64 |}..d..}.|.x..|..d|
|00000d40| 04 00 6a 09 00 6f b3 00 | 01 7c 01 00 64 04 00 6a |..j..o..|.|..d..j|
|00000d50| 08 00 70 0d 00 01 7c 06 | 00 7c 01 00 6a 00 00 6f |..p...|.|.|..j..o|
|00000d60| 99 00 01 7c 00 00 69 08 | 00 7d 04 00 7c 00 00 69 |...|..i.|.}..|..i|
|00000d70| 0a 00 7d 07 00 7c 04 00 | 69 0c 00 7d 02 00 7c 02 |..}..|..|i..}..|.|
|00000d80| 00 69 0e 00 7d 09 00 7c | 02 00 69 10 00 7d 03 00 |.i..}..||..i..}..|
|00000d90| 74 12 00 69 13 00 7c 09 | 00 83 01 00 01 74 12 00 |t..i..|.|.....t..|
|00000da0| 69 14 00 7c 09 00 7c 07 | 00 83 02 00 7d 08 00 7c |i..|..|.|....}..||
|00000db0| 08 00 6f 10 00 01 7c 08 | 00 69 16 00 83 00 00 7d |..o...|.|.i.....}|
|00000dc0| 08 00 6e 07 00 01 64 04 | 00 7d 08 00 7c 05 00 69 |..n...d.|.}..|..i|
|00000dd0| 17 00 7c 09 00 7c 07 00 | 7c 03 00 7c 08 00 66 04 |..|..|..||..|..f.|
|00000de0| 00 83 01 00 01 7c 00 00 | 69 18 00 7d 00 00 7c 06 |.....|..|i..}..|.|
|00000df0| 00 64 03 00 17 7d 06 00 | 71 3d 00 01 57 7c 05 00 |.d...}..|q=..W|..|
|00000e00| 53 28 05 00 00 00 73 ed | 01 00 00 52 65 74 75 72 |S(....s.|...Retur|
|00000e10| 6e 20 6c 69 73 74 20 6f | 66 20 75 70 20 74 6f 20 |n list o|f up to |
|00000e20| 6c 69 6d 69 74 20 70 72 | 65 2d 70 72 6f 63 65 73 |limit pr|e-proces|
|00000e30| 73 65 64 20 65 6e 74 72 | 69 65 73 20 66 72 6f 6d |sed entr|ies from|
|00000e40| 20 74 72 61 63 65 62 61 | 63 6b 2e 0a 0a 20 20 20 | traceba|ck... |
|00000e50| 20 54 68 69 73 20 69 73 | 20 75 73 65 66 75 6c 20 | This is| useful |
|00000e60| 66 6f 72 20 61 6c 74 65 | 72 6e 61 74 65 20 66 6f |for alte|rnate fo|
|00000e70| 72 6d 61 74 74 69 6e 67 | 20 6f 66 20 73 74 61 63 |rmatting| of stac|
|00000e80| 6b 20 74 72 61 63 65 73 | 2e 20 20 49 66 0a 20 20 |k traces|. If. |
|00000e90| 20 20 27 6c 69 6d 69 74 | 27 20 69 73 20 6f 6d 69 | 'limit|' is omi|
|00000ea0| 74 74 65 64 20 6f 72 20 | 4e 6f 6e 65 2c 20 61 6c |tted or |None, al|
|00000eb0| 6c 20 65 6e 74 72 69 65 | 73 20 61 72 65 20 65 78 |l entrie|s are ex|
|00000ec0| 74 72 61 63 74 65 64 2e | 20 20 41 0a 20 20 20 20 |tracted.| A. |
|00000ed0| 70 72 65 2d 70 72 6f 63 | 65 73 73 65 64 20 73 74 |pre-proc|essed st|
|00000ee0| 61 63 6b 20 74 72 61 63 | 65 20 65 6e 74 72 79 20 |ack trac|e entry |
|00000ef0| 69 73 20 61 20 71 75 61 | 64 72 75 70 6c 65 20 28 |is a qua|druple (|
|00000f00| 66 69 6c 65 6e 61 6d 65 | 2c 20 6c 69 6e 65 0a 20 |filename|, line. |
|00000f10| 20 20 20 6e 75 6d 62 65 | 72 2c 20 66 75 6e 63 74 | numbe|r, funct|
|00000f20| 69 6f 6e 20 6e 61 6d 65 | 2c 20 74 65 78 74 29 20 |ion name|, text) |
|00000f30| 72 65 70 72 65 73 65 6e | 74 69 6e 67 20 74 68 65 |represen|ting the|
|00000f40| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 74 68 61 | informa|tion tha|
|00000f50| 74 20 69 73 0a 20 20 20 | 20 75 73 75 61 6c 6c 79 |t is. | usually|
|00000f60| 20 70 72 69 6e 74 65 64 | 20 66 6f 72 20 61 20 73 | printed| for a s|
|00000f70| 74 61 63 6b 20 74 72 61 | 63 65 2e 20 20 54 68 65 |tack tra|ce. The|
|00000f80| 20 74 65 78 74 20 69 73 | 20 61 20 73 74 72 69 6e | text is| a strin|
|00000f90| 67 20 77 69 74 68 0a 20 | 20 20 20 6c 65 61 64 69 |g with. | leadi|
|00000fa0| 6e 67 20 61 6e 64 20 74 | 72 61 69 6c 69 6e 67 20 |ng and t|railing |
|00000fb0| 77 68 69 74 65 73 70 61 | 63 65 20 73 74 72 69 70 |whitespa|ce strip|
|00000fc0| 70 65 64 3b 20 69 66 20 | 74 68 65 20 73 6f 75 72 |ped; if |the sour|
|00000fd0| 63 65 20 69 73 20 6e 6f | 74 0a 20 20 20 20 61 76 |ce is no|t. av|
|00000fe0| 61 69 6c 61 62 6c 65 20 | 69 74 20 69 73 20 4e 6f |ailable |it is No|
|00000ff0| 6e 65 2e 0a 20 20 20 20 | 52 22 00 00 00 69 00 00 |ne.. |R"...i..|
|00001000| 00 00 69 01 00 00 00 4e | 28 19 00 00 00 52 23 00 |..i....N|(....R#.|
|00001010| 00 00 52 15 00 00 00 52 | 24 00 00 00 52 16 00 00 |..R....R|$...R...|
|00001020| 00 52 22 00 00 00 52 1f | 00 00 00 52 25 00 00 00 |.R"...R.|...R%...|
|00001030| 52 26 00 00 00 52 27 00 | 00 00 52 28 00 00 00 52 |R&...R'.|..R(...R|
|00001040| 0d 00 00 00 52 1a 00 00 | 00 52 29 00 00 00 52 2a |....R...|.R)...R*|
|00001050| 00 00 00 52 2b 00 00 00 | 52 19 00 00 00 52 2c 00 |...R+...|R....R,.|
|00001060| 00 00 52 1b 00 00 00 52 | 2d 00 00 00 52 2e 00 00 |..R....R|-...R...|
|00001070| 00 52 2f 00 00 00 52 1c | 00 00 00 52 1d 00 00 00 |.R/...R.|...R....|
|00001080| 52 21 00 00 00 52 30 00 | 00 00 28 0a 00 00 00 52 |R!...R0.|..(....R|
|00001090| 26 00 00 00 52 23 00 00 | 00 52 2a 00 00 00 52 1b |&...R#..|.R*...R.|
|000010a0| 00 00 00 52 28 00 00 00 | 52 1f 00 00 00 52 25 00 |...R(...|R....R%.|
|000010b0| 00 00 52 1a 00 00 00 52 | 1c 00 00 00 52 19 00 00 |..R....R|....R...|
|000010c0| 00 28 00 00 00 00 28 00 | 00 00 00 52 13 00 00 00 |.(....(.|...R....|
|000010d0| 52 01 00 00 00 4e 00 00 | 00 73 2c 00 00 00 00 0a |R....N..|.s,.....|
|000010e0| 00 01 0d 01 10 01 11 01 | 06 01 06 01 03 00 27 01 |........|......'.|
|000010f0| 09 01 09 01 09 01 09 01 | 09 01 0d 01 12 01 07 00 |........|........|
|00001100| 10 01 06 01 19 01 09 01 | 0f 01 63 05 00 00 00 07 |........|..c.....|
|00001110| 00 00 00 05 00 00 00 43 | 00 00 00 73 8e 00 00 00 |.......C|...s....|
|00001120| 7c 04 00 64 05 00 6a 08 | 00 6f 0d 00 01 74 02 00 ||..d..j.|.o...t..|
|00001130| 69 03 00 7d 04 00 6e 01 | 00 01 7c 02 00 6f 21 00 |i..}..n.|..|..o!.|
|00001140| 01 74 05 00 7c 04 00 64 | 01 00 83 02 00 01 74 06 |.t..|..d|......t.|
|00001150| 00 7c 02 00 7c 03 00 7c | 04 00 83 03 00 01 6e 01 |.|..|..||......n.|
|00001160| 00 01 74 08 00 7c 00 00 | 7c 01 00 83 02 00 7d 05 |..t..|..||.....}.|
|00001170| 00 78 22 00 7c 05 00 64 | 02 00 20 44 5d 16 00 7d |.x".|..d|.. D]..}|
|00001180| 06 00 74 05 00 7c 04 00 | 7c 06 00 64 03 00 83 03 |..t..|..||..d....|
|00001190| 00 01 71 5c 00 57 74 05 | 00 7c 04 00 7c 05 00 64 |..q\.Wt.|.|..|..d|
|000011a0| 02 00 19 64 04 00 83 03 | 00 01 64 05 00 53 28 06 |...d....|..d..S(.|
|000011b0| 00 00 00 73 f9 01 00 00 | 50 72 69 6e 74 20 65 78 |...s....|Print ex|
|000011c0| 63 65 70 74 69 6f 6e 20 | 75 70 20 74 6f 20 27 6c |ception |up to 'l|
|000011d0| 69 6d 69 74 27 20 73 74 | 61 63 6b 20 74 72 61 63 |imit' st|ack trac|
|000011e0| 65 20 65 6e 74 72 69 65 | 73 20 66 72 6f 6d 20 27 |e entrie|s from '|
|000011f0| 74 62 27 20 74 6f 20 27 | 66 69 6c 65 27 2e 0a 0a |tb' to '|file'...|
|00001200| 20 20 20 20 54 68 69 73 | 20 64 69 66 66 65 72 73 | This| differs|
|00001210| 20 66 72 6f 6d 20 70 72 | 69 6e 74 5f 74 62 28 29 | from pr|int_tb()|
|00001220| 20 69 6e 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e | in the |followin|
|00001230| 67 20 77 61 79 73 3a 20 | 28 31 29 20 69 66 0a 20 |g ways: |(1) if. |
|00001240| 20 20 20 74 72 61 63 65 | 62 61 63 6b 20 69 73 20 | trace|back is |
|00001250| 6e 6f 74 20 4e 6f 6e 65 | 2c 20 69 74 20 70 72 69 |not None|, it pri|
|00001260| 6e 74 73 20 61 20 68 65 | 61 64 65 72 20 22 54 72 |nts a he|ader "Tr|
|00001270| 61 63 65 62 61 63 6b 20 | 28 6d 6f 73 74 20 72 65 |aceback |(most re|
|00001280| 63 65 6e 74 0a 20 20 20 | 20 63 61 6c 6c 20 6c 61 |cent. | call la|
|00001290| 73 74 29 3a 22 3b 20 28 | 32 29 20 69 74 20 70 72 |st):"; (|2) it pr|
|000012a0| 69 6e 74 73 20 74 68 65 | 20 65 78 63 65 70 74 69 |ints the| excepti|
|000012b0| 6f 6e 20 74 79 70 65 20 | 61 6e 64 20 76 61 6c 75 |on type |and valu|
|000012c0| 65 20 61 66 74 65 72 20 | 74 68 65 0a 20 20 20 20 |e after |the. |
|000012d0| 73 74 61 63 6b 20 74 72 | 61 63 65 3b 20 28 33 29 |stack tr|ace; (3)|
|000012e0| 20 69 66 20 74 79 70 65 | 20 69 73 20 53 79 6e 74 | if type| is Synt|
|000012f0| 61 78 45 72 72 6f 72 20 | 61 6e 64 20 76 61 6c 75 |axError |and valu|
|00001300| 65 20 68 61 73 20 74 68 | 65 0a 20 20 20 20 61 70 |e has th|e. ap|
|00001310| 70 72 6f 70 72 69 61 74 | 65 20 66 6f 72 6d 61 74 |propriat|e format|
|00001320| 2c 20 69 74 20 70 72 69 | 6e 74 73 20 74 68 65 20 |, it pri|nts the |
|00001330| 6c 69 6e 65 20 77 68 65 | 72 65 20 74 68 65 20 73 |line whe|re the s|
|00001340| 79 6e 74 61 78 20 65 72 | 72 6f 72 0a 20 20 20 20 |yntax er|ror. |
|00001350| 6f 63 63 75 72 72 65 64 | 20 77 69 74 68 20 61 20 |occurred| with a |
|00001360| 63 61 72 65 74 20 6f 6e | 20 74 68 65 20 6e 65 78 |caret on| the nex|
|00001370| 74 20 6c 69 6e 65 20 69 | 6e 64 69 63 61 74 69 6e |t line i|ndicatin|
|00001380| 67 20 74 68 65 20 61 70 | 70 72 6f 78 69 6d 61 74 |g the ap|proximat|
|00001390| 65 0a 20 20 20 20 70 6f | 73 69 74 69 6f 6e 20 6f |e. po|sition o|
|000013a0| 66 20 74 68 65 20 65 72 | 72 6f 72 2e 0a 20 20 20 |f the er|ror.. |
|000013b0| 20 73 22 00 00 00 54 72 | 61 63 65 62 61 63 6b 20 | s"...Tr|aceback |
|000013c0| 28 6d 6f 73 74 20 72 65 | 63 65 6e 74 20 63 61 6c |(most re|cent cal|
|000013d0| 6c 20 6c 61 73 74 29 3a | 69 ff ff ff ff 74 01 00 |l last):|i....t..|
|000013e0| 00 00 20 52 0e 00 00 00 | 4e 28 0d 00 00 00 52 0f |.. R....|N(....R.|
|000013f0| 00 00 00 52 15 00 00 00 | 52 16 00 00 00 52 17 00 |...R....|R....R..|
|00001400| 00 00 52 26 00 00 00 52 | 14 00 00 00 52 0c 00 00 |..R&...R|....R...|
|00001410| 00 52 23 00 00 00 52 03 | 00 00 00 74 05 00 00 00 |.R#...R.|...t....|
|00001420| 65 74 79 70 65 74 05 00 | 00 00 76 61 6c 75 65 74 |etypet..|..valuet|
|00001430| 05 00 00 00 6c 69 6e 65 | 73 52 1c 00 00 00 28 07 |....line|sR....(.|
|00001440| 00 00 00 52 32 00 00 00 | 52 33 00 00 00 52 26 00 |...R2...|R3...R&.|
|00001450| 00 00 52 23 00 00 00 52 | 0f 00 00 00 52 34 00 00 |..R#...R|....R4..|
|00001460| 00 52 1c 00 00 00 28 00 | 00 00 00 28 00 00 00 00 |.R....(.|...(....|
|00001470| 52 13 00 00 00 52 09 00 | 00 00 6e 00 00 00 73 16 |R....R..|..n...s.|
|00001480| 00 00 00 00 0a 00 01 0d | 01 0d 01 07 01 0d 01 14 |........|........|
|00001490| 01 0f 01 0b 00 06 01 14 | 01 63 04 00 00 00 05 00 |........|.c......|
|000014a0| 00 00 04 00 00 00 43 00 | 00 00 73 44 00 00 00 7c |......C.|..sD...||
|000014b0| 02 00 6f 20 00 01 64 01 | 00 67 01 00 7d 04 00 7c |..o ..d.|.g..}..||
|000014c0| 04 00 74 02 00 7c 02 00 | 7c 03 00 83 02 00 17 7d |..t..|..||......}|
|000014d0| 04 00 6e 07 00 01 67 00 | 00 7d 04 00 7c 04 00 74 |..n...g.|.}..|..t|
|000014e0| 04 00 7c 00 00 7c 01 00 | 83 02 00 17 7d 04 00 7c |..|..|..|....}..||
|000014f0| 04 00 53 28 03 00 00 00 | 73 7a 01 00 00 46 6f 72 |..S(....|sz...For|
|00001500| 6d 61 74 20 61 20 73 74 | 61 63 6b 20 74 72 61 63 |mat a st|ack trac|
|00001510| 65 20 61 6e 64 20 74 68 | 65 20 65 78 63 65 70 74 |e and th|e except|
|00001520| 69 6f 6e 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2e |ion info|rmation.|
|00001530| 0a 0a 20 20 20 20 54 68 | 65 20 61 72 67 75 6d 65 |.. Th|e argume|
|00001540| 6e 74 73 20 68 61 76 65 | 20 74 68 65 20 73 61 6d |nts have| the sam|
|00001550| 65 20 6d 65 61 6e 69 6e | 67 20 61 73 20 74 68 65 |e meanin|g as the|
|00001560| 20 63 6f 72 72 65 73 70 | 6f 6e 64 69 6e 67 20 61 | corresp|onding a|
|00001570| 72 67 75 6d 65 6e 74 73 | 0a 20 20 20 20 74 6f 20 |rguments|. to |
|00001580| 70 72 69 6e 74 5f 65 78 | 63 65 70 74 69 6f 6e 28 |print_ex|ception(|
|00001590| 29 2e 20 20 54 68 65 20 | 72 65 74 75 72 6e 20 76 |). The |return v|
|000015a0| 61 6c 75 65 20 69 73 20 | 61 20 6c 69 73 74 20 6f |alue is |a list o|
|000015b0| 66 20 73 74 72 69 6e 67 | 73 2c 20 65 61 63 68 0a |f string|s, each.|
|000015c0| 20 20 20 20 65 6e 64 69 | 6e 67 20 69 6e 20 61 20 | endi|ng in a |
|000015d0| 6e 65 77 6c 69 6e 65 20 | 61 6e 64 20 73 6f 6d 65 |newline |and some|
|000015e0| 20 63 6f 6e 74 61 69 6e | 69 6e 67 20 69 6e 74 65 | contain|ing inte|
|000015f0| 72 6e 61 6c 20 6e 65 77 | 6c 69 6e 65 73 2e 20 20 |rnal new|lines. |
|00001600| 57 68 65 6e 0a 20 20 20 | 20 74 68 65 73 65 20 6c |When. | these l|
|00001610| 69 6e 65 73 20 61 72 65 | 20 63 6f 6e 63 61 74 65 |ines are| concate|
|00001620| 6e 61 74 65 64 20 61 6e | 64 20 70 72 69 6e 74 65 |nated an|d printe|
|00001630| 64 2c 20 65 78 61 63 74 | 6c 79 20 74 68 65 20 73 |d, exact|ly the s|
|00001640| 61 6d 65 20 74 65 78 74 | 20 69 73 0a 20 20 20 20 |ame text| is. |
|00001650| 70 72 69 6e 74 65 64 20 | 61 73 20 64 6f 65 73 20 |printed |as does |
|00001660| 70 72 69 6e 74 5f 65 78 | 63 65 70 74 69 6f 6e 28 |print_ex|ception(|
|00001670| 29 2e 0a 20 20 20 20 73 | 23 00 00 00 54 72 61 63 |).. s|#...Trac|
|00001680| 65 62 61 63 6b 20 28 6d | 6f 73 74 20 72 65 63 65 |eback (m|ost rece|
|00001690| 6e 74 20 63 61 6c 6c 20 | 6c 61 73 74 29 3a 0a 4e |nt call |last):.N|
|000016a0| 28 07 00 00 00 52 26 00 | 00 00 52 1f 00 00 00 52 |(....R&.|..R....R|
|000016b0| 06 00 00 00 52 23 00 00 | 00 52 03 00 00 00 52 32 |....R#..|.R....R2|
|000016c0| 00 00 00 52 33 00 00 00 | 28 05 00 00 00 52 32 00 |...R3...|(....R2.|
|000016d0| 00 00 52 33 00 00 00 52 | 26 00 00 00 52 23 00 00 |..R3...R|&...R#..|
|000016e0| 00 52 1f 00 00 00 28 00 | 00 00 00 28 00 00 00 00 |.R....(.|...(....|
|000016f0| 52 13 00 00 00 52 02 00 | 00 00 83 00 00 00 73 0e |R....R..|......s.|
|00001700| 00 00 00 00 08 00 01 07 | 01 09 01 17 02 06 01 13 |........|........|
|00001710| 01 63 02 00 00 00 0c 00 | 00 00 04 00 00 00 43 00 |.c......|......C.|
|00001720| 00 00 73 d8 01 00 00 67 | 00 00 7d 03 00 74 01 00 |..s....g|..}..t..|
|00001730| 7c 00 00 83 01 00 74 03 | 00 69 04 00 6a 02 00 6f ||.....t.|.i..j..o|
|00001740| 0d 00 01 7c 00 00 69 05 | 00 7d 08 00 6e 07 00 01 |...|..i.|.}..n...|
|00001750| 7c 00 00 7d 08 00 7c 01 | 00 64 0c 00 6a 08 00 6f ||..}..|.|.d..j..o|
|00001760| 1b 00 01 7c 03 00 69 09 | 00 74 0a 00 7c 08 00 83 |...|..i.|.t..|...|
|00001770| 01 00 64 01 00 17 83 01 | 00 01 6e 7e 01 01 7c 00 |..d.....|..n~..|.|
|00001780| 00 74 0b 00 6a 08 00 6f | 25 01 01 79 1c 00 7c 01 |.t..j..o|%..y..|.|
|00001790| 00 5c 02 00 7d 06 00 5c | 04 00 7d 05 00 7d 0b 00 |.\..}..\|..}..}..|
|000017a0| 7d 09 00 7d 0a 00 57 6e | 07 00 01 01 01 71 89 01 |}..}..Wn|.....q..|
|000017b0| 58 7c 05 00 70 0a 00 01 | 64 02 00 7d 05 00 6e 01 |X|..p...|d..}..n.|
|000017c0| 00 01 7c 03 00 69 09 00 | 64 03 00 7c 05 00 7c 0b |..|..i..|d..|..|.|
|000017d0| 00 66 02 00 16 83 01 00 | 01 7c 0a 00 64 0c 00 6a |.f......|.|..d..j|
|000017e0| 09 00 6f c6 00 01 64 04 | 00 7d 02 00 78 33 00 7c |..o...d.|.}..x3.||
|000017f0| 02 00 74 12 00 7c 0a 00 | 83 01 00 6a 00 00 6f 1f |..t..|..|...j..o.|
|00001800| 00 01 7c 0a 00 7c 02 00 | 19 69 13 00 83 00 00 6f |..|..|..|.i.....o|
|00001810| 0e 00 01 7c 02 00 64 05 | 00 17 7d 02 00 71 c8 00 |...|..d.|..}..q..|
|00001820| 01 57 7c 03 00 69 09 00 | 64 06 00 7c 0a 00 69 14 |.W|..i..|d..|..i.|
|00001830| 00 83 00 00 16 83 01 00 | 01 7c 09 00 64 0c 00 6a |........|.|..d..j|
|00001840| 09 00 6f 5c 00 01 64 07 | 00 7d 07 00 78 3e 00 7c |..o\..d.|.}..x>.||
|00001850| 0a 00 7c 02 00 7c 09 00 | 64 05 00 18 21 44 5d 2b |..|..|..|d...!D]+|
|00001860| 00 7d 04 00 7c 04 00 69 | 13 00 83 00 00 6f 0e 00 |.}..|..i|.....o..|
|00001870| 01 7c 07 00 7c 04 00 17 | 7d 07 00 71 37 01 01 7c |.|..|...|}..q7..||
|00001880| 07 00 64 08 00 17 7d 07 | 00 71 37 01 57 7c 03 00 |..d...}.|.q7.W|..|
|00001890| 69 09 00 64 09 00 7c 07 | 00 16 83 01 00 01 6e 01 |i..d..|.|......n.|
|000018a0| 00 01 7c 06 00 7d 01 00 | 71 89 01 01 6e 01 00 01 |..|..}..|q...n...|
|000018b0| 74 17 00 7c 01 00 83 01 | 00 7d 07 00 7c 07 00 6f |t..|....|.}..|..o|
|000018c0| 21 00 01 7c 03 00 69 09 | 00 64 0a 00 74 0a 00 7c |!..|..i.|.d..t..||
|000018d0| 08 00 83 01 00 7c 07 00 | 66 02 00 16 83 01 00 01 |.....|..|f.......|
|000018e0| 6e 18 00 01 7c 03 00 69 | 09 00 64 0b 00 74 0a 00 |n...|..i|..d..t..|
|000018f0| 7c 08 00 83 01 00 16 83 | 01 00 01 7c 03 00 53 28 ||.......|...|..S(|
|00001900| 0d 00 00 00 73 0b 02 00 | 00 46 6f 72 6d 61 74 20 |....s...|.Format |
|00001910| 74 68 65 20 65 78 63 65 | 70 74 69 6f 6e 20 70 61 |the exce|ption pa|
|00001920| 72 74 20 6f 66 20 61 20 | 74 72 61 63 65 62 61 63 |rt of a |tracebac|
|00001930| 6b 2e 0a 0a 20 20 20 20 | 54 68 65 20 61 72 67 75 |k... |The argu|
|00001940| 6d 65 6e 74 73 20 61 72 | 65 20 74 68 65 20 65 78 |ments ar|e the ex|
|00001950| 63 65 70 74 69 6f 6e 20 | 74 79 70 65 20 61 6e 64 |ception |type and|
|00001960| 20 76 61 6c 75 65 20 73 | 75 63 68 20 61 73 20 67 | value s|uch as g|
|00001970| 69 76 65 6e 20 62 79 0a | 20 20 20 20 73 79 73 2e |iven by.| sys.|
|00001980| 6c 61 73 74 5f 74 79 70 | 65 20 61 6e 64 20 73 79 |last_typ|e and sy|
|00001990| 73 2e 6c 61 73 74 5f 76 | 61 6c 75 65 2e 20 54 68 |s.last_v|alue. Th|
|000019a0| 65 20 72 65 74 75 72 6e | 20 76 61 6c 75 65 20 69 |e return| value i|
|000019b0| 73 20 61 20 6c 69 73 74 | 20 6f 66 0a 20 20 20 20 |s a list| of. |
|000019c0| 73 74 72 69 6e 67 73 2c | 20 65 61 63 68 20 65 6e |strings,| each en|
|000019d0| 64 69 6e 67 20 69 6e 20 | 61 20 6e 65 77 6c 69 6e |ding in |a newlin|
|000019e0| 65 2e 20 20 4e 6f 72 6d | 61 6c 6c 79 2c 20 74 68 |e. Norm|ally, th|
|000019f0| 65 20 6c 69 73 74 20 63 | 6f 6e 74 61 69 6e 73 20 |e list c|ontains |
|00001a00| 61 0a 20 20 20 20 73 69 | 6e 67 6c 65 20 73 74 72 |a. si|ngle str|
|00001a10| 69 6e 67 3b 20 68 6f 77 | 65 76 65 72 2c 20 66 6f |ing; how|ever, fo|
|00001a20| 72 20 53 79 6e 74 61 78 | 45 72 72 6f 72 20 65 78 |r Syntax|Error ex|
|00001a30| 63 65 70 74 69 6f 6e 73 | 2c 20 69 74 20 63 6f 6e |ceptions|, it con|
|00001a40| 74 61 69 6e 73 0a 20 20 | 20 20 73 65 76 65 72 61 |tains. | severa|
|00001a50| 6c 20 6c 69 6e 65 73 20 | 74 68 61 74 20 28 77 68 |l lines |that (wh|
|00001a60| 65 6e 20 70 72 69 6e 74 | 65 64 29 20 64 69 73 70 |en print|ed) disp|
|00001a70| 6c 61 79 20 64 65 74 61 | 69 6c 65 64 20 69 6e 66 |lay deta|iled inf|
|00001a80| 6f 72 6d 61 74 69 6f 6e | 0a 20 20 20 20 61 62 6f |ormation|. abo|
|00001a90| 75 74 20 77 68 65 72 65 | 20 74 68 65 20 73 79 6e |ut where| the syn|
|00001aa0| 74 61 78 20 65 72 72 6f | 72 20 6f 63 63 75 72 72 |tax erro|r occurr|
|00001ab0| 65 64 2e 20 20 54 68 65 | 20 6d 65 73 73 61 67 65 |ed. The| message|
|00001ac0| 20 69 6e 64 69 63 61 74 | 69 6e 67 0a 20 20 20 20 | indicat|ing. |
|00001ad0| 77 68 69 63 68 20 65 78 | 63 65 70 74 69 6f 6e 20 |which ex|ception |
|00001ae0| 6f 63 63 75 72 72 65 64 | 20 69 73 20 74 68 65 20 |occurred| is the |
|00001af0| 61 6c 77 61 79 73 20 6c | 61 73 74 20 73 74 72 69 |always l|ast stri|
|00001b00| 6e 67 20 69 6e 20 74 68 | 65 20 6c 69 73 74 2e 0a |ng in th|e list..|
|00001b10| 20 20 20 20 73 01 00 00 | 00 0a 73 08 00 00 00 3c | s...|..s....<|
|00001b20| 73 74 72 69 6e 67 3e 73 | 15 00 00 00 20 20 46 69 |string>s|.... Fi|
|00001b30| 6c 65 20 22 25 73 22 2c | 20 6c 69 6e 65 20 25 64 |le "%s",| line %d|
|00001b40| 0a 69 00 00 00 00 69 01 | 00 00 00 73 07 00 00 00 |.i....i.|...s....|
|00001b50| 20 20 20 20 25 73 0a 73 | 04 00 00 00 20 20 20 20 | %s.s|.... |
|00001b60| 52 31 00 00 00 73 04 00 | 00 00 25 73 5e 0a 73 07 |R1...s..|..%s^.s.|
|00001b70| 00 00 00 25 73 3a 20 25 | 73 0a 73 03 00 00 00 25 |...%s: %|s.s....%|
|00001b80| 73 0a 4e 28 18 00 00 00 | 52 1f 00 00 00 74 04 00 |s.N(....|R....t..|
|00001b90| 00 00 74 79 70 65 52 32 | 00 00 00 74 05 00 00 00 |..typeR2|...t....|
|00001ba0| 74 79 70 65 73 74 09 00 | 00 00 43 6c 61 73 73 54 |typest..|..ClassT|
|00001bb0| 79 70 65 74 08 00 00 00 | 5f 5f 6e 61 6d 65 5f 5f |ypet....|__name__|
|00001bc0| 74 05 00 00 00 73 74 79 | 70 65 52 33 00 00 00 52 |t....sty|peR3...R|
|00001bd0| 15 00 00 00 52 21 00 00 | 00 52 11 00 00 00 74 0b |....R!..|.R....t.|
|00001be0| 00 00 00 53 79 6e 74 61 | 78 45 72 72 6f 72 74 03 |...Synta|xErrort.|
|00001bf0| 00 00 00 6d 73 67 52 19 | 00 00 00 52 1a 00 00 00 |...msgR.|...R....|
|00001c00| 74 06 00 00 00 6f 66 66 | 73 65 74 52 1c 00 00 00 |t....off|setR....|
|00001c10| 74 01 00 00 00 69 74 03 | 00 00 00 6c 65 6e 74 07 |t....it.|...lent.|
|00001c20| 00 00 00 69 73 73 70 61 | 63 65 52 1d 00 00 00 74 |...isspa|ceR....t|
|00001c30| 01 00 00 00 73 74 01 00 | 00 00 63 74 09 00 00 00 |....st..|..ct....|
|00001c40| 5f 73 6f 6d 65 5f 73 74 | 72 28 0c 00 00 00 52 32 |_some_st|r(....R2|
|00001c50| 00 00 00 52 33 00 00 00 | 52 3d 00 00 00 52 1f 00 |...R3...|R=...R..|
|00001c60| 00 00 52 41 00 00 00 52 | 19 00 00 00 52 3b 00 00 |..RA...R|....R;..|
|00001c70| 00 52 40 00 00 00 52 39 | 00 00 00 52 3c 00 00 00 |.R@...R9|...R<...|
|00001c80| 52 1c 00 00 00 52 1a 00 | 00 00 28 00 00 00 00 28 |R....R..|..(....(|
|00001c90| 00 00 00 00 52 13 00 00 | 00 52 03 00 00 00 94 00 |....R...|.R......|
|00001ca0| 00 00 73 46 00 00 00 00 | 0a 00 01 06 01 16 01 0d |..sF....|........|
|00001cb0| 02 06 01 0d 01 1b 02 0d | 01 03 01 1c 01 03 01 04 |........|........|
|00001cc0| 02 07 00 0a 01 17 02 0d | 01 06 01 03 00 24 01 0f |........|.....$..|
|00001cd0| 01 17 01 0d 01 06 01 12 | 00 06 01 0d 01 0e 02 0e |........|........|
|00001ce0| 01 15 01 0e 01 0c 01 07 | 01 21 02 17 01 63 01 00 |........|.!...c..|
|00001cf0| 00 00 01 00 00 00 03 00 | 00 00 43 00 00 00 73 2d |........|..C...s-|
|00001d00| 00 00 00 79 0e 00 74 00 | 00 7c 00 00 83 01 00 53 |...y..t.|.|.....S|
|00001d10| 57 6e 18 00 01 01 01 64 | 01 00 74 02 00 7c 00 00 |Wn.....d|..t..|..|
|00001d20| 83 01 00 69 03 00 16 53 | 6e 01 00 58 64 00 00 53 |...i...S|n..Xd..S|
|00001d30| 28 02 00 00 00 4e 73 17 | 00 00 00 3c 75 6e 70 72 |(....Ns.|...<unpr|
|00001d40| 69 6e 74 61 62 6c 65 20 | 25 73 20 6f 62 6a 65 63 |intable |%s objec|
|00001d50| 74 3e 28 04 00 00 00 52 | 11 00 00 00 52 33 00 00 |t>(....R|....R3..|
|00001d60| 00 52 35 00 00 00 52 38 | 00 00 00 28 01 00 00 00 |.R5...R8|...(....|
|00001d70| 52 33 00 00 00 28 00 00 | 00 00 28 00 00 00 00 52 |R3...(..|..(....R|
|00001d80| 13 00 00 00 52 42 00 00 | 00 c5 00 00 00 73 08 00 |....RB..|.....s..|
|00001d90| 00 00 00 01 03 01 0e 01 | 03 01 63 02 00 00 00 05 |........|..c.....|
|00001da0| 00 00 00 06 00 00 00 43 | 00 00 00 73 5f 00 00 00 |.......C|...s_...|
|00001db0| 7c 01 00 64 01 00 6a 08 | 00 6f 0d 00 01 74 02 00 ||..d..j.|.o...t..|
|00001dc0| 69 03 00 7d 01 00 6e 01 | 00 01 7a 2f 00 74 02 00 |i..}..n.|..z/.t..|
|00001dd0| 69 04 00 83 00 00 5c 03 | 00 7d 03 00 7d 02 00 7d |i.....\.|.}..}..}|
|00001de0| 04 00 74 08 00 7c 03 00 | 7c 02 00 7c 04 00 7c 00 |..t..|..||..|..|.|
|00001df0| 00 7c 01 00 83 05 00 01 | 57 64 01 00 64 01 00 04 |.|......|Wd..d...|
|00001e00| 7d 03 00 04 7d 02 00 7d | 04 00 58 64 01 00 53 28 |}...}..}|..Xd..S(|
|00001e10| 02 00 00 00 73 be 00 00 | 00 53 68 6f 72 74 68 61 |....s...|.Shortha|
|00001e20| 6e 64 20 66 6f 72 20 27 | 70 72 69 6e 74 5f 65 78 |nd for '|print_ex|
|00001e30| 63 65 70 74 69 6f 6e 28 | 73 79 73 2e 65 78 63 5f |ception(|sys.exc_|
|00001e40| 74 79 70 65 2c 20 73 79 | 73 2e 65 78 63 5f 76 61 |type, sy|s.exc_va|
|00001e50| 6c 75 65 2c 20 73 79 73 | 2e 65 78 63 5f 74 72 61 |lue, sys|.exc_tra|
|00001e60| 63 65 62 61 63 6b 2c 20 | 6c 69 6d 69 74 2c 20 66 |ceback, |limit, f|
|00001e70| 69 6c 65 29 27 2e 0a 20 | 20 20 20 28 49 6e 20 66 |ile)'.. | (In f|
|00001e80| 61 63 74 2c 20 69 74 20 | 75 73 65 73 20 73 79 73 |act, it |uses sys|
|00001e90| 2e 65 78 63 5f 69 6e 66 | 6f 28 29 20 74 6f 20 72 |.exc_inf|o() to r|
|00001ea0| 65 74 72 69 65 76 65 20 | 74 68 65 20 73 61 6d 65 |etrieve |the same|
|00001eb0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 0a 20 20 20 | informa|tion. |
|00001ec0| 20 69 6e 20 61 20 74 68 | 72 65 61 64 2d 73 61 66 | in a th|read-saf|
|00001ed0| 65 20 77 61 79 2e 29 4e | 28 0a 00 00 00 52 0f 00 |e way.)N|(....R..|
|00001ee0| 00 00 52 15 00 00 00 52 | 16 00 00 00 52 17 00 00 |..R....R|....R...|
|00001ef0| 00 74 08 00 00 00 65 78 | 63 5f 69 6e 66 6f 52 32 |.t....ex|c_infoR2|
|00001f00| 00 00 00 52 33 00 00 00 | 52 26 00 00 00 52 09 00 |...R3...|R&...R..|
|00001f10| 00 00 52 23 00 00 00 28 | 05 00 00 00 52 23 00 00 |..R#...(|....R#..|
|00001f20| 00 52 0f 00 00 00 52 33 | 00 00 00 52 32 00 00 00 |.R....R3|...R2...|
|00001f30| 52 26 00 00 00 28 00 00 | 00 00 28 00 00 00 00 52 |R&...(..|..(....R|
|00001f40| 13 00 00 00 52 07 00 00 | 00 cc 00 00 00 73 10 00 |....R...|.....s..|
|00001f50| 00 00 00 03 00 01 0d 01 | 0d 01 03 01 15 01 1a 01 |........|........|
|00001f60| 00 01 63 01 00 00 00 04 | 00 00 00 06 00 00 00 43 |..c.....|.......C|
|00001f70| 00 00 00 73 4b 00 00 00 | 7a 35 00 74 00 00 69 01 |...sK...|z5.t..i.|
|00001f80| 00 83 00 00 5c 03 00 7d | 02 00 7d 01 00 7d 03 00 |....\..}|..}..}..|
|00001f90| 64 01 00 69 05 00 74 06 | 00 7c 02 00 7c 01 00 7c |d..i..t.|.|..|..||
|00001fa0| 03 00 7c 00 00 83 04 00 | 83 01 00 53 57 64 02 00 |..|.....|...SWd..|
|00001fb0| 64 02 00 04 7d 02 00 04 | 7d 01 00 7d 03 00 58 64 |d...}...|}..}..Xd|
|00001fc0| 02 00 53 28 03 00 00 00 | 73 25 00 00 00 4c 69 6b |..S(....|s%...Lik|
|00001fd0| 65 20 70 72 69 6e 74 5f | 65 78 63 28 29 20 62 75 |e print_|exc() bu|
|00001fe0| 74 20 72 65 74 75 72 6e | 20 61 20 73 74 72 69 6e |t return| a strin|
|00001ff0| 67 2e 52 0e 00 00 00 4e | 28 09 00 00 00 52 16 00 |g.R....N|(....R..|
|00002000| 00 00 52 43 00 00 00 52 | 32 00 00 00 52 33 00 00 |..RC...R|2...R3..|
|00002010| 00 52 26 00 00 00 74 04 | 00 00 00 6a 6f 69 6e 52 |.R&...t.|...joinR|
|00002020| 02 00 00 00 52 23 00 00 | 00 52 15 00 00 00 28 04 |....R#..|.R....(.|
|00002030| 00 00 00 52 23 00 00 00 | 52 33 00 00 00 52 32 00 |...R#...|R3...R2.|
|00002040| 00 00 52 26 00 00 00 28 | 00 00 00 00 28 00 00 00 |..R&...(|....(...|
|00002050| 00 52 13 00 00 00 52 08 | 00 00 00 d9 00 00 00 73 |.R....R.|.......s|
|00002060| 0c 00 00 00 00 01 00 01 | 03 01 15 01 20 01 00 01 |........|.... ...|
|00002070| 63 02 00 00 00 02 00 00 | 00 06 00 00 00 43 00 00 |c.......|.....C..|
|00002080| 00 73 3d 00 00 00 7c 01 | 00 64 01 00 6a 08 00 6f |.s=...|.|.d..j..o|
|00002090| 0d 00 01 74 02 00 69 03 | 00 7d 01 00 6e 01 00 01 |...t..i.|.}..n...|
|000020a0| 74 04 00 74 02 00 69 05 | 00 74 02 00 69 06 00 74 |t..t..i.|.t..i..t|
|000020b0| 02 00 69 07 00 7c 00 00 | 7c 01 00 83 05 00 01 64 |..i..|..||......d|
|000020c0| 01 00 53 28 02 00 00 00 | 73 6e 00 00 00 54 68 69 |..S(....|sn...Thi|
|000020d0| 73 20 69 73 20 61 20 73 | 68 6f 72 74 68 61 6e 64 |s is a s|horthand|
|000020e0| 20 66 6f 72 20 27 70 72 | 69 6e 74 5f 65 78 63 65 | for 'pr|int_exce|
|000020f0| 70 74 69 6f 6e 28 73 79 | 73 2e 6c 61 73 74 5f 74 |ption(sy|s.last_t|
|00002100| 79 70 65 2c 0a 20 20 20 | 20 73 79 73 2e 6c 61 73 |ype,. | sys.las|
|00002110| 74 5f 76 61 6c 75 65 2c | 20 73 79 73 2e 6c 61 73 |t_value,| sys.las|
|00002120| 74 5f 74 72 61 63 65 62 | 61 63 6b 2c 20 6c 69 6d |t_traceb|ack, lim|
|00002130| 69 74 2c 20 66 69 6c 65 | 29 27 2e 4e 28 09 00 00 |it, file|)'.N(...|
|00002140| 00 52 0f 00 00 00 52 15 | 00 00 00 52 16 00 00 00 |.R....R.|...R....|
|00002150| 52 17 00 00 00 52 09 00 | 00 00 74 09 00 00 00 6c |R....R..|..t....l|
|00002160| 61 73 74 5f 74 79 70 65 | 74 0a 00 00 00 6c 61 73 |ast_type|t....las|
|00002170| 74 5f 76 61 6c 75 65 74 | 0e 00 00 00 6c 61 73 74 |t_valuet|....last|
|00002180| 5f 74 72 61 63 65 62 61 | 63 6b 52 23 00 00 00 28 |_traceba|ckR#...(|
|00002190| 02 00 00 00 52 23 00 00 | 00 52 0f 00 00 00 28 00 |....R#..|.R....(.|
|000021a0| 00 00 00 28 00 00 00 00 | 52 13 00 00 00 52 0a 00 |...(....|R....R..|
|000021b0| 00 00 e2 00 00 00 73 0a | 00 00 00 00 02 00 01 0d |......s.|........|
|000021c0| 01 0d 01 15 01 63 03 00 | 00 00 03 00 00 00 05 00 |.....c..|........|
|000021d0| 00 00 43 00 00 00 73 61 | 00 00 00 7c 00 00 64 02 |..C...sa|...|..d.|
|000021e0| 00 6a 08 00 6f 3a 00 01 | 79 0a 00 74 02 00 82 01 |.j..o:..|y..t....|
|000021f0| 00 57 71 47 00 04 74 02 | 00 6a 0a 00 6f 1d 00 01 |.WqG..t.|.j..o...|
|00002200| 01 01 01 74 03 00 69 04 | 00 83 00 00 64 01 00 19 |...t..i.|....d...|
|00002210| 69 05 00 69 06 00 7d 00 | 00 71 47 00 01 58 6e 01 |i..i..}.|.qG..Xn.|
|00002220| 00 01 74 07 00 74 08 00 | 7c 00 00 7c 01 00 83 02 |..t..t..||..|....|
|00002230| 00 7c 02 00 83 02 00 01 | 64 02 00 53 28 03 00 00 |.|......|d..S(...|
|00002240| 00 73 f7 00 00 00 50 72 | 69 6e 74 20 61 20 73 74 |.s....Pr|int a st|
|00002250| 61 63 6b 20 74 72 61 63 | 65 20 66 72 6f 6d 20 69 |ack trac|e from i|
|00002260| 74 73 20 69 6e 76 6f 63 | 61 74 69 6f 6e 20 70 6f |ts invoc|ation po|
|00002270| 69 6e 74 2e 0a 0a 20 20 | 20 20 54 68 65 20 6f 70 |int... | The op|
|00002280| 74 69 6f 6e 61 6c 20 27 | 66 27 20 61 72 67 75 6d |tional '|f' argum|
|00002290| 65 6e 74 20 63 61 6e 20 | 62 65 20 75 73 65 64 20 |ent can |be used |
|000022a0| 74 6f 20 73 70 65 63 69 | 66 79 20 61 6e 20 61 6c |to speci|fy an al|
|000022b0| 74 65 72 6e 61 74 65 0a | 20 20 20 20 73 74 61 63 |ternate.| stac|
|000022c0| 6b 20 66 72 61 6d 65 20 | 61 74 20 77 68 69 63 68 |k frame |at which|
|000022d0| 20 74 6f 20 73 74 61 72 | 74 2e 20 54 68 65 20 6f | to star|t. The o|
|000022e0| 70 74 69 6f 6e 61 6c 20 | 27 6c 69 6d 69 74 27 20 |ptional |'limit' |
|000022f0| 61 6e 64 20 27 66 69 6c | 65 27 0a 20 20 20 20 61 |and 'fil|e'. a|
|00002300| 72 67 75 6d 65 6e 74 73 | 20 68 61 76 65 20 74 68 |rguments| have th|
|00002310| 65 20 73 61 6d 65 20 6d | 65 61 6e 69 6e 67 20 61 |e same m|eaning a|
|00002320| 73 20 66 6f 72 20 70 72 | 69 6e 74 5f 65 78 63 65 |s for pr|int_exce|
|00002330| 70 74 69 6f 6e 28 29 2e | 0a 20 20 20 20 69 02 00 |ption().|. i..|
|00002340| 00 00 4e 28 0b 00 00 00 | 52 28 00 00 00 52 15 00 |..N(....|R(...R..|
|00002350| 00 00 74 11 00 00 00 5a | 65 72 6f 44 69 76 69 73 |..t....Z|eroDivis|
|00002360| 69 6f 6e 45 72 72 6f 72 | 52 16 00 00 00 52 43 00 |ionError|R....RC.|
|00002370| 00 00 52 27 00 00 00 74 | 06 00 00 00 66 5f 62 61 |..R'...t|....f_ba|
|00002380| 63 6b 52 1e 00 00 00 52 | 00 00 00 00 52 23 00 00 |ckR....R|....R#..|
|00002390| 00 52 0f 00 00 00 28 03 | 00 00 00 52 28 00 00 00 |.R....(.|...R(...|
|000023a0| 52 23 00 00 00 52 0f 00 | 00 00 28 00 00 00 00 28 |R#...R..|..(....(|
|000023b0| 00 00 00 00 52 13 00 00 | 00 52 0b 00 00 00 eb 00 |....R...|.R......|
|000023c0| 00 00 73 0e 00 00 00 00 | 06 00 01 0d 01 03 01 0a |..s.....|........|
|000023d0| 01 0e 01 1f 01 63 02 00 | 00 00 02 00 00 00 05 00 |.....c..|........|
|000023e0| 00 00 43 00 00 00 73 5a | 00 00 00 7c 00 00 64 02 |..C...sZ|...|..d.|
|000023f0| 00 6a 08 00 6f 3a 00 01 | 79 0a 00 74 02 00 82 01 |.j..o:..|y..t....|
|00002400| 00 57 71 47 00 04 74 02 | 00 6a 0a 00 6f 1d 00 01 |.WqG..t.|.j..o...|
|00002410| 01 01 01 74 03 00 69 04 | 00 83 00 00 64 01 00 19 |...t..i.|....d...|
|00002420| 69 05 00 69 06 00 7d 00 | 00 71 47 00 01 58 6e 01 |i..i..}.|.qG..Xn.|
|00002430| 00 01 74 07 00 74 08 00 | 7c 00 00 7c 01 00 83 02 |..t..t..||..|....|
|00002440| 00 83 01 00 53 28 03 00 | 00 00 73 35 00 00 00 53 |....S(..|..s5...S|
|00002450| 68 6f 72 74 68 61 6e 64 | 20 66 6f 72 20 27 66 6f |horthand| for 'fo|
|00002460| 72 6d 61 74 5f 6c 69 73 | 74 28 65 78 74 72 61 63 |rmat_lis|t(extrac|
|00002470| 74 5f 73 74 61 63 6b 28 | 66 2c 20 6c 69 6d 69 74 |t_stack(|f, limit|
|00002480| 29 29 27 2e 69 02 00 00 | 00 4e 28 0a 00 00 00 52 |))'.i...|.N(....R|
|00002490| 28 00 00 00 52 15 00 00 | 00 52 48 00 00 00 52 16 |(...R...|.RH...R.|
|000024a0| 00 00 00 52 43 00 00 00 | 52 27 00 00 00 52 49 00 |...RC...|R'...RI.|
|000024b0| 00 00 52 04 00 00 00 52 | 00 00 00 00 52 23 00 00 |..R....R|....R#..|
|000024c0| 00 28 02 00 00 00 52 28 | 00 00 00 52 23 00 00 00 |.(....R(|...R#...|
|000024d0| 28 00 00 00 00 28 00 00 | 00 00 52 13 00 00 00 52 |(....(..|..R....R|
|000024e0| 05 00 00 00 f9 00 00 00 | 73 0e 00 00 00 00 01 00 |........|s.......|
|000024f0| 01 0d 01 03 01 0a 01 0e | 01 1f 01 63 02 00 00 00 |........|...c....|
|00002500| 09 00 00 00 05 00 00 00 | 43 00 00 00 73 4a 01 00 |........|C...sJ..|
|00002510| 00 7c 00 00 64 05 00 6a | 08 00 6f 3a 00 01 79 0a |.|..d..j|..o:..y.|
|00002520| 00 74 02 00 82 01 00 57 | 71 47 00 04 74 02 00 6a |.t.....W|qG..t..j|
|00002530| 0a 00 6f 1d 00 01 01 01 | 01 74 03 00 69 04 00 83 |..o.....|.t..i...|
|00002540| 00 00 64 01 00 19 69 05 | 00 69 06 00 7d 00 00 71 |..d...i.|.i..}..q|
|00002550| 47 00 01 58 6e 01 00 01 | 7c 01 00 64 05 00 6a 08 |G..Xn...||..d..j.|
|00002560| 00 6f 21 00 01 74 08 00 | 74 03 00 64 02 00 83 02 |.o!..t..|t..d....|
|00002570| 00 6f 0d 00 01 74 03 00 | 69 09 00 7d 01 00 71 75 |.o...t..|i..}..qu|
|00002580| 00 01 6e 01 00 01 67 00 | 00 7d 04 00 64 03 00 7d |..n...g.|.}..d..}|
|00002590| 05 00 78 b8 00 7c 00 00 | 64 05 00 6a 09 00 6f aa |..x..|..|d..j..o.|
|000025a0| 00 01 7c 01 00 64 05 00 | 6a 08 00 70 0d 00 01 7c |..|..d..|j..p...||
|000025b0| 05 00 7c 01 00 6a 00 00 | 6f 90 00 01 7c 00 00 69 |..|..j..|o...|..i|
|000025c0| 0c 00 7d 06 00 7c 00 00 | 69 0e 00 7d 02 00 7c 02 |..}..|..|i..}..|.|
|000025d0| 00 69 10 00 7d 08 00 7c | 02 00 69 12 00 7d 03 00 |.i..}..||..i..}..|
|000025e0| 74 14 00 69 15 00 7c 08 | 00 83 01 00 01 74 14 00 |t..i..|.|.....t..|
|000025f0| 69 16 00 7c 08 00 7c 06 | 00 83 02 00 7d 07 00 7c |i..|..|.|....}..||
|00002600| 07 00 6f 10 00 01 7c 07 | 00 69 18 00 83 00 00 7d |..o...|.|.i.....}|
|00002610| 07 00 6e 07 00 01 64 05 | 00 7d 07 00 7c 04 00 69 |..n...d.|.}..|..i|
|00002620| 19 00 7c 08 00 7c 06 00 | 7c 03 00 7c 07 00 66 04 |..|..|..||..|..f.|
|00002630| 00 83 01 00 01 7c 00 00 | 69 06 00 7d 00 00 7c 05 |.....|..|i..}..|.|
|00002640| 00 64 04 00 17 7d 05 00 | 71 84 00 01 57 7c 04 00 |.d...}..|q...W|..|
|00002650| 69 1a 00 83 00 00 01 7c | 04 00 53 28 06 00 00 00 |i......||..S(....|
|00002660| 73 73 01 00 00 45 78 74 | 72 61 63 74 20 74 68 65 |ss...Ext|ract the|
|00002670| 20 72 61 77 20 74 72 61 | 63 65 62 61 63 6b 20 66 | raw tra|ceback f|
|00002680| 72 6f 6d 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |rom the |current |
|00002690| 73 74 61 63 6b 20 66 72 | 61 6d 65 2e 0a 0a 20 20 |stack fr|ame... |
|000026a0| 20 20 54 68 65 20 72 65 | 74 75 72 6e 20 76 61 6c | The re|turn val|
|000026b0| 75 65 20 68 61 73 20 74 | 68 65 20 73 61 6d 65 20 |ue has t|he same |
|000026c0| 66 6f 72 6d 61 74 20 61 | 73 20 66 6f 72 20 65 78 |format a|s for ex|
|000026d0| 74 72 61 63 74 5f 74 62 | 28 29 2e 20 20 54 68 65 |tract_tb|(). The|
|000026e0| 0a 20 20 20 20 6f 70 74 | 69 6f 6e 61 6c 20 27 66 |. opt|ional 'f|
|000026f0| 27 20 61 6e 64 20 27 6c | 69 6d 69 74 27 20 61 72 |' and 'l|imit' ar|
|00002700| 67 75 6d 65 6e 74 73 20 | 68 61 76 65 20 74 68 65 |guments |have the|
|00002710| 20 73 61 6d 65 20 6d 65 | 61 6e 69 6e 67 20 61 73 | same me|aning as|
|00002720| 20 66 6f 72 0a 20 20 20 | 20 70 72 69 6e 74 5f 73 | for. | print_s|
|00002730| 74 61 63 6b 28 29 2e 20 | 20 45 61 63 68 20 69 74 |tack(). | Each it|
|00002740| 65 6d 20 69 6e 20 74 68 | 65 20 6c 69 73 74 20 69 |em in th|e list i|
|00002750| 73 20 61 20 71 75 61 64 | 72 75 70 6c 65 20 28 66 |s a quad|ruple (f|
|00002760| 69 6c 65 6e 61 6d 65 2c | 0a 20 20 20 20 6c 69 6e |ilename,|. lin|
|00002770| 65 20 6e 75 6d 62 65 72 | 2c 20 66 75 6e 63 74 69 |e number|, functi|
|00002780| 6f 6e 20 6e 61 6d 65 2c | 20 74 65 78 74 29 2c 20 |on name,| text), |
|00002790| 61 6e 64 20 74 68 65 20 | 65 6e 74 72 69 65 73 20 |and the |entries |
|000027a0| 61 72 65 20 69 6e 20 6f | 72 64 65 72 0a 20 20 20 |are in o|rder. |
|000027b0| 20 66 72 6f 6d 20 6f 6c | 64 65 73 74 20 74 6f 20 | from ol|dest to |
|000027c0| 6e 65 77 65 73 74 20 73 | 74 61 63 6b 20 66 72 61 |newest s|tack fra|
|000027d0| 6d 65 2e 0a 20 20 20 20 | 69 02 00 00 00 52 22 00 |me.. |i....R".|
|000027e0| 00 00 69 00 00 00 00 69 | 01 00 00 00 4e 28 1b 00 |..i....i|....N(..|
|000027f0| 00 00 52 28 00 00 00 52 | 15 00 00 00 52 48 00 00 |..R(...R|....RH..|
|00002800| 00 52 16 00 00 00 52 43 | 00 00 00 52 27 00 00 00 |.R....RC|...R'...|
|00002810| 52 49 00 00 00 52 23 00 | 00 00 52 24 00 00 00 52 |RI...R#.|..R$...R|
|00002820| 22 00 00 00 52 1f 00 00 | 00 52 25 00 00 00 74 08 |"...R...|.R%...t.|
|00002830| 00 00 00 66 5f 6c 69 6e | 65 6e 6f 52 1a 00 00 00 |...f_lin|enoR....|
|00002840| 52 29 00 00 00 52 2a 00 | 00 00 52 2b 00 00 00 52 |R)...R*.|..R+...R|
|00002850| 19 00 00 00 52 2c 00 00 | 00 52 1b 00 00 00 52 2d |....R,..|.R....R-|
|00002860| 00 00 00 52 2e 00 00 00 | 52 2f 00 00 00 52 1c 00 |...R....|R/...R..|
|00002870| 00 00 52 1d 00 00 00 52 | 21 00 00 00 74 07 00 00 |..R....R|!...t...|
|00002880| 00 72 65 76 65 72 73 65 | 28 09 00 00 00 52 28 00 |.reverse|(....R(.|
|00002890| 00 00 52 23 00 00 00 52 | 2a 00 00 00 52 1b 00 00 |..R#...R|*...R...|
|000028a0| 00 52 1f 00 00 00 52 25 | 00 00 00 52 1a 00 00 00 |.R....R%|...R....|
|000028b0| 52 1c 00 00 00 52 19 00 | 00 00 28 00 00 00 00 28 |R....R..|..(....(|
|000028c0| 00 00 00 00 52 13 00 00 | 00 52 00 00 00 00 02 01 |....R...|.R......|
|000028d0| 00 00 73 36 00 00 00 00 | 08 00 01 0d 01 03 01 0a |..s6....|........|
|000028e0| 01 0e 01 1f 01 0d 01 10 | 01 11 01 06 01 06 01 03 |........|........|
|000028f0| 00 27 01 09 01 09 01 09 | 01 09 01 0d 01 12 01 07 |.'......|........|
|00002900| 00 10 01 06 01 19 01 09 | 01 0f 01 0a 01 63 01 00 |........|.....c..|
|00002910| 00 00 01 00 00 00 01 00 | 00 00 43 00 00 00 73 07 |........|..C...s.|
|00002920| 00 00 00 7c 00 00 69 01 | 00 53 28 02 00 00 00 73 |...|..i.|.S(....s|
|00002930| 52 00 00 00 43 61 6c 63 | 75 6c 61 74 65 20 63 6f |R...Calc|ulate co|
|00002940| 72 72 65 63 74 20 6c 69 | 6e 65 20 6e 75 6d 62 65 |rrect li|ne numbe|
|00002950| 72 20 6f 66 20 74 72 61 | 63 65 62 61 63 6b 20 67 |r of tra|ceback g|
|00002960| 69 76 65 6e 20 69 6e 20 | 74 62 2e 0a 0a 20 20 20 |iven in |tb... |
|00002970| 20 4f 62 73 6f 6c 65 74 | 65 20 69 6e 20 32 2e 33 | Obsolet|e in 2.3|
|00002980| 2e 0a 20 20 20 20 4e 28 | 02 00 00 00 52 26 00 00 |.. N(|....R&..|
|00002990| 00 52 0d 00 00 00 28 01 | 00 00 00 52 26 00 00 00 |.R....(.|...R&...|
|000029a0| 28 00 00 00 00 28 00 00 | 00 00 52 13 00 00 00 52 |(....(..|..R....R|
|000029b0| 0d 00 00 00 24 01 00 00 | 73 04 00 00 00 00 04 00 |....$...|s.......|
|000029c0| 01 28 17 00 00 00 74 07 | 00 00 00 5f 5f 64 6f 63 |.(....t.|...__doc|
|000029d0| 5f 5f 52 2d 00 00 00 52 | 16 00 00 00 52 36 00 00 |__R-...R|....R6..|
|000029e0| 00 74 07 00 00 00 5f 5f | 61 6c 6c 5f 5f 52 14 00 |.t....__|all__R..|
|000029f0| 00 00 52 15 00 00 00 52 | 1e 00 00 00 52 04 00 00 |..R....R|....R...|
|00002a00| 00 52 0c 00 00 00 52 06 | 00 00 00 52 01 00 00 00 |.R....R.|...R....|
|00002a10| 52 09 00 00 00 52 02 00 | 00 00 52 03 00 00 00 52 |R....R..|..R....R|
|00002a20| 42 00 00 00 52 07 00 00 | 00 52 08 00 00 00 52 0a |B...R...|.R....R.|
|00002a30| 00 00 00 52 0b 00 00 00 | 52 05 00 00 00 52 00 00 |...R....|R....R..|
|00002a40| 00 00 52 0d 00 00 00 28 | 15 00 00 00 52 0b 00 00 |..R....(|....R...|
|00002a50| 00 52 09 00 00 00 52 0a | 00 00 00 52 14 00 00 00 |.R....R.|...R....|
|00002a60| 52 1e 00 00 00 52 0d 00 | 00 00 52 4d 00 00 00 52 |R....R..|..RM...R|
|00002a70| 05 00 00 00 52 03 00 00 | 00 52 01 00 00 00 52 00 |....R...|.R....R.|
|00002a80| 00 00 00 52 06 00 00 00 | 52 0c 00 00 00 52 16 00 |...R....|R....R..|
|00002a90| 00 00 52 36 00 00 00 52 | 02 00 00 00 52 08 00 00 |..R6...R|....R...|
|00002aa0| 00 52 07 00 00 00 52 42 | 00 00 00 52 04 00 00 00 |.R....RB|...R....|
|00002ab0| 52 2d 00 00 00 28 00 00 | 00 00 28 00 00 00 00 52 |R-...(..|..(....R|
|00002ac0| 13 00 00 00 74 01 00 00 | 00 3f 01 00 00 00 73 2a |....t...|.?....s*|
|00002ad0| 00 00 00 06 02 09 01 09 | 01 09 02 30 05 0f 04 0c |........|...0....|
|00002ae0| 0b 09 13 0f 1c 0c 04 0c | 20 0f 15 0c 11 09 31 09 |........| .....1.|
|00002af0| 07 0f 0d 0c 09 0f 09 12 | 0e 0f 09 0f 22 |........|...." |
+--------+-------------------------+-------------------------+--------+--------+